<?php
$cache = new Cache_request();
$menuID = $cache->get('currentID');
$menu = service_menu::getOne($menuID);
$str = "<a href=''>首页</a>";
if(!empty($menu)){
	foreach(split(',',$menu['path']) as $item){
		if($item){
			$m = service_menu::getOne($item);
			if($m['id']==$menuID){
				$str .= ">>{$m['title']}";
			}else{
				$str .= ">><a href='".service_menu::getUrlByID($m['id'])."'>{$m['title']}</a>";
			}
		}
	}
}
echo $str;
?>